package com.lzy.mall.auth.feign;

import com.lzy.mall.common.utils.ResultUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lzy
 * @date 2021/9/24 14:36
 */
@FeignClient("mall-third-party")
public interface ThirdPartFeignService {

    @GetMapping("/sms/sendcode")
    ResultUtils sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
